#pragma once

#include "ckProcessor.h"
#include "ckRasterBand.h"

namespace ck
{
	namespace algorithm
	{
		namespace raster
		{
			class ZPROCESSOR_API PSNRProcessor : public Processor
			{
			public:
				PSNRProcessor();
				virtual ~PSNRProcessor();

			public:
				virtual RESULTCODE	Execute();
				

			public:
				void	SetBand(data::RasterBand* pBand1, data::RasterBand* pBand2);
				double	GetValue();

			protected:
				data::RasterBand* m_pBand1;
				data::RasterBand* m_pBand2;
				double m_psnr;
			};
		}
	}
}

